module.exports = {
  transpileDependencies: true,

  devServer: {
    proxy: {
      '^/api': {
        target: 'http://101.43.184.159:9110/infoservice/', //接口的前缀
        ws: true,
        changeOrigin: true,
        pathRewrite: {
          '^/api': '' //重写路径
        }
      }
    }
  }
}
